package com.github.tj123.frame.service;

import com.github.tj123.frame.common.PageRequest;
import com.github.tj123.frame.common.PageResponse;
import com.github.tj123.frame.pojo.po.SUserPo;
import java.util.Map;

public interface SUserService {

    void add(SUserPo po) throws Exception;

    void del(String id) throws Exception;

    void edit(SUserPo po) throws Exception;

    SUserPo get(String id) throws Exception;

    Map<String, Object> get2(String id) throws Exception;

    PageResponse<Map<String, Object>> list(PageRequest request) throws Exception;

    PageResponse<SUserPo> list2(PageRequest request) throws Exception;

}
